﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MediaDefinitionBuilder.cs" company="DST Nexdox">
//   Copyright (c) DST Nexdox. All rights reserved.
// </copyright>
// <summary>
//   MediaDefinition Builder
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace BuildMeA
{
  using Entities;

  public class MediaDefinitionBuilder : Builder<MediaDefinition>
  {
    public MediaDefinitionBuilder()
    {
      MediaDefinitionBuilder.Instance = new MediaDefinition();
    }

    public MediaDefinitionBuilder WithIndexDefinition(IndexDefinition indexDefinition)
    {
      Instance.IndexDefinition = indexDefinition;
      return this;
    }
  }
}
